//
//  MovieTableViewCell.h
//  快乐一点通
//
//  Created by cjp on 16/8/12.
//  Copyright © 2016年 cjp. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <ZFPlayer.h>
#import "MovieModel.h"

//@class MovieModel;

@protocol VideoCellDelegate <NSObject>

-(void)videoCellButton:(UIButton *)sender model:(MovieModel *)model;

@end

typedef void(^PlayBtnCallBackBlock)(UIButton *);

@interface MovieTableViewCell : UITableViewCell

/** 电影数据 */
@property(nonatomic,strong)MovieModel *movie;

/** 播放按钮block */
@property (nonatomic, copy  ) PlayBtnCallBackBlock playBlock;
@property (weak, nonatomic) IBOutlet UIImageView *playVideo;

@property (nonatomic, strong) UIButton *playBtn;
@property(nonatomic,weak)id <VideoCellDelegate> delegate;




@end
